<!DOCTYPE html>
<html lang="en">
  <head>
    <?php echo Yaf_View_Simple::render('header.phtml'); ?>
  </head>
  <body">
    <div class="container">
      <form class="form-signin"  method="post">
        <h2 class="form-signin-heading">Login Page</h2>
        <label for="userName" class="sr-only">Email address</label>
        <input type="text" name="user_name" id="userName" class="form-control" placeholder="Manager Name">
        <label for="userPassword" class="sr-only">Password</label>
        <input type="password" name="user_password" id="userPassword" class="form-control" placeholder="Password">
        <label for="verify" class="sr-only">Password</label>
        <input type="text" name="verifycode" id="verify" class="form-control" placeholder="Verify Code">
        <p>
          <img  title="点击刷新" src="/admin/manage/verify" align="absbottom" onclick="this.src='/admin/manage/verify"></img>
        </p>
        <div class="checkbox">
          <label>
            <input type="checkbox" value="remember-me"> Remember me
          </label>
        </div>
		<label class="col-lg-2 control-label"></label>
		<div class="col-lg-6">
		  <!-- <a href="javascript:def.submit('#beform',null)" class="btn btn-primary">Submit</a> -->
		</div>
        <button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
      </form>
      <?php if(isset($warning) && !empty($warning)){ ?>
      <div class="alert alert-warning" >
        <?php echo $warning;?>
      </div>
      <?php } ?>
      
    </div> <!-- /container -->
	<?php echo Yaf_View_Simple::render("footer.phtml"); ?>

	<!-- 模态框（Modal） -->
	<div class="modal fade" id="modal" tabindex="-1" role="dialog" aria-labelledby="modellabel" aria-hidden="true">
	  <div class="modal-dialog">
		<div class="modal-content">
		  <div class="modal-header bg-default">
			<div class="modal-title" id="modallabel">
			  <h5 class="text-primary">Signal</h5>
			</div>
		  </div>
		  <div class="modal-body bg-primary">
			
		  </div>
		  <div class="modal-footer">
			<button type="button" class="btn btn-default" data-dismiss="modal">Close
			</button>
		  </div>
		</div><!-- /.modal-content -->
	  </div><!-- /.modal -->
	</div>	    
  </body>
</html>
